namespace Terra.Core.Common.ErrorCodes.Models;

/// <summary>
/// 错误级别枚举
/// </summary>
public enum ErrorSeverity
{
    /// <summary>
    /// 信息
    /// </summary>
    Info = 0,

    /// <summary>
    /// 警告
    /// </summary>
    Warning = 1,

    /// <summary>
    /// 错误
    /// </summary>
    Error = 2,

    /// <summary>
    /// 严重错误
    /// </summary>
    Critical = 3
}